//
//  HelloTableViewCell.m
//  Hello
//
//  Created by Detailscool on 16/3/17.
//  Copyright © 2016年 Detailscool. All rights reserved.
//

#import "HelloTableViewCell.h"

@implementation HelloTableViewCell

- (void)awakeFromNib {
    // Initialization code
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
    self.layer.cornerRadius = 5;
    self.layer.masksToBounds = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setFrame:(CGRect)frame {
    
    frame.origin.x = HelloCellMargin;
    frame.size.width -= 2*HelloCellMargin;
    frame.size.height -= HelloCellMargin;
    frame.origin.y += HelloCellMargin;
    
    [super setFrame:frame];
}

@end
